package com.lhkj.ct.meta.modules.gauge.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 维度题目关联表
 * </p>
 *
 * @author jobob
 * @since 2023-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TblScaleDimQuestion对象", description="维度题目关联表")
public class TblScaleDimQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty(value = "维度关联题目id")
    private String id;

    @ApiModelProperty(value = "维度id")
    private String dimId;

    @ApiModelProperty(value = "题目id")
    @NotBlank(message = "维度绑定的题目不能为null")
    private String qutId;

    @ApiModelProperty(value = "权重公式")
    private String formula;

}
